package com.xuecheng.commons.model.vo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * 订单
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
public class OrdersVo implements Serializable {


    private Long id;

    /**
     * 订单号
     */
    @ExcelProperty(value = "订单号")
    private String orderNo;

    /**
     * 课程Id
     */
    @ExcelProperty(value = "课程Id")
    private Long coursePubId;

    /**
     * 课程名称
     */
    @ExcelProperty(value = "课程名称")
    private String coursePubName;

    /**
     * 用户ID
     */
    @ExcelProperty(value = "用户ID")
    private Long userId;

    /**
     * 用户名
     */
    @ExcelProperty(value = "用户名")
    private String userName;

    /**
     * 交易价
     */
    @ExcelProperty(value = "交易价")
    private Long price;

    /**
     * 交易状态
     */
    @ExcelProperty(value = "交易状态")
    private Integer status;

    //创建日期
    @ExcelProperty(value = "创建日期")
    private Date createDate;
    //结束时间
    @ExcelProperty(value = "结束时间")
    private Date endTime;

    @ExcelIgnore //隐藏字段
    private String sta;

}
